public class Demo1 {

    public int a = 10;
    public String b = "zhangsan";

}

class A extends Demo1{
    public int a;
    public char b;

    public void test() {
        super.b = "lisi";
        b = 101;
        System.out.println(a);
        System.out.println(b);
        System.out.println(super.a);
        System.out.println(super.b);
    }
}

class Test {

    public static void main(String[] args) {

        A a = new A();
        a.test();

    }
}
